﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication1
{
    public class A
    {
        public A(int x)
        {
            Console.WriteLine("Base contructor A");
        }
    }
        public class  B : A
        {
            public B(int x)
                : base(x)
            {
                Console.WriteLine("Base contructor B");      
            }
        }
    
    class Program
    {
        static void Main(string[] args)
        {
            A a = new A(100);
            B b = new B(1);
        }
    }
}
